package com.uuah.server.config.spring.parsers.specific;

import com.uuah.config.PoolingProfile;

/**
 * This parser is responsible for processing the
 * <code><pooling-profile><code> configuration elements.
 */
public class PoolingProfileDefinitionParser extends
		ConfigurationChildDefinitionParser {

	public PoolingProfileDefinitionParser() {
		super("poolingProfile", PoolingProfile.class);
		addMapping("initialisationPolicy",
				PoolingProfile.POOL_INITIALISATION_POLICIES);
		addMapping("exhaustedAction", PoolingProfile.POOL_EXHAUSTED_ACTIONS);
	}

}
